﻿namespace com.crownpack
{
    public class Column
    {
        #region Fields

        public const string ApprovalStatus = "cpApprSts";
        public const string Archived = "cpArchived";
        public const string BMBusPhone = "cpBranchManagerBusPhone";
        public const string BMPhone = "cpBranchManagerPhone";
        public const string CalendarDaysRemaining = "cpCalDayRem";
        public const string CalendarMonthsRemainingInCurrentYear = "cpCalMthRemCurYr";
        public const string CostSavingsType = "cpCstSavTyp";
        public const string CustomerInitiativeNumber = "cpCustInitNo";
        public const string CustomerPartNo = "cpCustPartNo";
        public const string CustomerPartNoDescription = "cpCustPartNoDscr";
        public const string DaysInProcess = "cpDayProc";
        public const string DaysOld = "cpDayOld";
        public const string DaysProcessedDaysProposed = "cpDayProcDayProp";
        public const string DaysProposed = "cpDayProp";
        public const string EAU = "cpEAU";
        public const string EstimatedTotalMonthlySavings = "cpEstTotMthSav";
        public const string EstimatedTotalSavings = "cpEstTotSav";
        public const string EstimatedTotalSavingsTotal = "cpEstTotSavTot";
        public const string ExpirationDate = "cpExpDt";
        public const string FutureRealDaysRemaining = "cpFutRealDayRem";
        public const string FutureRealMonthsRemaining = "cpFutRealMthRem";

        ////public const string IDDupe = "cpIDDupe";
        public const string ImplementationDate = "cpImpDt";
        public const string ImplementationStatus = "cpImpSts";
        public const string InitiativeDetail = "cpInitDtl";
        public const string InitiativeDisplayUrl = "cpInitiativeDisplayUrl";
        public const string InitiativeEditUrl = "cpInitiativeEditUrl";
        public const string InitiativeItemID = "cpInitiativeItemID";
        public const string InitiativeListID = "cpInitiativeListID";
        public const string InitiativeNo = "cpInitNo";
        public const string InitiativeTimeFrame = "cpInitTmFrm";
        public const string InProcessDate = "cpProcDt";
        public const string InProcessStatus = "cpProcSts";
        public const string ItemDescriptionOfNewItem = "cpItmDscr";
        public const string JDEConfirmed = "cpJDECnfrm";
        public const string JDECostSavingsNo = "cpJDECstSavNo";
        public const string Location = "cpLocation";
        public const string NewItemNo = "cpNewItmNo";
        public const string NewPrice = "cpNewPrice";
        public const string OriginalItemNo = "cpOldItmNo";
        public const string OriginalPrice = "cpOldPrice";
        public const string PlantChampion = "cpPC";
        public const string PlantChampionEmail = "cpPCEmail";
        public const string PlantChampionTelephone = "cpPCTel";
        public const string PlantChampionTitle = "cpPCTitle";
        public const string ProductCategory = "cpPrdCat";
        public const string ProposedDate = "cpPropDt";
        public const string ProposedStatus = "cpPropSts";
        public const string RealizationBalance = "cpRealBal";
        public const string RealizationBalance2 = "cpRealBal2";
        public const string RealizationDate = "cpRealDt";
        public const string RejectionDate = "cpRjtDt";
        public const string RejectionReason = "cpRjtRson";
        public const string RejectionReason_ = "cpRjtRson_";
        public const string RemainingCurrentYearBalance = "cpRemCYBal";
        public const string RemainingInitiativeBalance = "cpRemInitBal";
        public const string Rollup = "cpRollup";
        public const string Status = "cpSts";
        public const string UnitOfMeasure = "cpUOM";
        public const string UnitSavings = "cpUntSav";
        public const string Update = "cpUpdt";
        public const string YearEnd = "cpYrEnd";

        #endregion Fields

        #region Properties

        public static string Address1
        {
            get
            {
                return Layout.GetInternalName( Layout.Address1 );
            }
        }

        public static string Branch
        {
            get
            {
                return Layout.GetInternalName( Layout.Branch );
            }
        }

        public static string BranchManager
        {
            get
            {
                return Layout.GetInternalName( Layout.BranchManager );
            }
        }

        public static string BranchName
        {
            get
            {
                return Layout.GetInternalName( Layout.BranchName );
            }
        }

        public static string City
        {
            get
            {
                return Layout.GetInternalName( Layout.City );
            }
        }

        public static string DivisionCode
        {
            get
            {
                return Layout.GetInternalName( Layout.DivisionCode );
            }
        }

        public static string GroupCode
        {
            get
            {
                return Layout.GetInternalName( Layout.GroupCode );
            }
        }

        public static string LocationName
        {
            get
            {
                return Layout.GetInternalName( Layout.LocationName );
            }
        }

        public static string LocationNo
        {
            get
            {
                return Layout.GetInternalName( Layout.LocationNo );
            }
        }

        public static string ManagerEMail
        {
            get
            {
                return Layout.GetInternalName( Layout.ManagerEMail );
            }
        }

        public static string NA_ManagerEmailAddress
        {
            get
            {
                return Layout.GetInternalName( Layout.NA_ManagerEmailAddress );
            }
        }

        public static string NA_ManagerName
        {
            get
            {
                return Layout.GetInternalName( Layout.NA_ManagerName );
            }
        }

        public static string NA_ManagerNo
        {
            get
            {
                return Layout.GetInternalName( Layout.NA_ManagerNo );
            }
        }

        public static string NA_ManagerPhone
        {
            get
            {
                return Layout.GetInternalName( Layout.NA_ManagerPhone );
            }
        }

        public static string ParentCustomerName
        {
            get
            {
                return Layout.GetInternalName( Layout.ParentCustomerName );
            }
        }

        public static string ParentCustomerNo
        {
            get
            {
                return Layout.GetInternalName( Layout.ParentCustomerNo );
            }
        }

        public static string Salesrep
        {
            get
            {
                return Layout.GetInternalName( Layout.Salesrep );
            }
        }

        public static string SalesrepEmailAddress
        {
            get
            {
                return Layout.GetInternalName( Layout.SalesrepEmailAddress );
            }
        }

        public static string SalesrepName
        {
            get
            {
                return Layout.GetInternalName( Layout.SalesrepName );
            }
        }

        public static string SalesrepPhone
        {
            get
            {
                return Layout.GetInternalName( Layout.SalesrepPhone );
            }
        }

        public static string SectorCode
        {
            get
            {
                return Layout.GetInternalName( Layout.SectorCode );
            }
        }

        public static string St
        {
            get
            {
                return Layout.GetInternalName( Layout.St );
            }
        }

        public static string Zip
        {
            get
            {
                return Layout.GetInternalName( Layout.Zip );
            }
        }

        #endregion Properties
    }

    public class Status
    {
        #region Fields

        public const string Implemented = "Implemented";
        public const string InProcess = "In Process";
        public const string Proposed = "Proposed";
        public const string Rejected = "Rejected";
        public const string Unknown = "Unknown";

        #endregion Fields
    }
}